import "./App.css";
import List from "./pages/List";
import { Routes, Route } from "react-router";
import Homes from "./pages/List/Homes";
import Login from "./pages/Login";
function App() {
  // 大布局
  return (
    <>
      {/*路由配置 */}
      <Routes>
        <Route path="/" element={<List />}>
          <Route index element={<Homes />} />
          <Route path="Login" element={<Login />} />
        </Route>
      </Routes>
    </>
  );
}

export default App;
